<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>title</title>
    <script th:src="@{/static/js/jquery.min.js}"></script>
    <script th:src="@{/static/bootstrap-3.4.1-dist/js/bootstrap.js}"></script>
    <link rel="stylesheet" th:href="@{/static/bootstrap-3.4.1-dist/css/bootstrap.css}">
</head>
<body>
<div class="container">
    <h3>user's add page</h3>
    <hr>
    <form th:action="@{'/user/save/'+${deptId}}" method="post" autocomplete="off">

        <div class="form-group">
            <label for="userName">姓名</label>
            <input type="text" class="form-control" id="userName" name="userName" placeholder="姓名">
        </div>

        <div class="form-group">
            <label>性别</label>
            <br>
            <label class="radio-inline">
                <input type="radio" name="userSex" id="0" value="0"> 男
            </label>
            <label class="radio-inline">
                <input type="radio" name="userSex" id="1" value="1"> 女
            </label>
        </div>

        <div class="form-group">
            <label for="userAge">年龄</label>
            <input type="text" class="form-control" id="userAge" name="userAge" placeholder="年龄">
        </div>

        <button type="submit" class="btn btn-default">添加</button>
    </form>

</div>

</body>
</html>